package com.yuyou.fn.tradingservice.entity;

import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

import com.github.wens.mybatisplus.annotations.TableField;
import com.github.wens.mybatisplus.annotations.TableId;
import com.github.wens.mybatisplus.annotations.TableName;
import com.github.wens.mybatisplus.examples.Example;

/**
 *
 * 
 *
 */
@TableName(value = "service_product_refund")
public class ServiceProductRefund implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	public static Example<ServiceProductRefund> createExample(){
		return new Example<ServiceProductRefund>(ServiceProductRefund.class);
	}

	/**  */
	@TableId(value = "service_product_refund_id")
	private Long serviceProductRefundId;

	/** 已支付订单id */
	@TableField(value = "order_id")
	private Long orderId;

	/** 订单对应商品id */
	@TableField(value = "order_item_id")
	private Long orderItemId;

	/**   */
	@TableField(value = "user_id")
	private Long userId;

	/** 用户名  */
	@TableField(value = "user_name")
	private String userName;

	/** 商品名称 */
	@TableField(value = "product_name")
	private String productName;

	/** 数量 */
	@TableField(value = "quantity")
	private Integer quantity;

	/** 退款金额 */
	@TableField(value = "price")
	private BigDecimal price;

	/** 退款原因 */
	@TableField(value = "reason")
	private String reason;

	/** 退款状态：0-处理中，1-已处理，2-已拒绝 */
	@TableField(value = "status")
	private Integer status;

	/** 审批详情 */
	@TableField(value = "return_result")
	private String returnResult;

	/** 创建时间 */
	@TableField(value = "create_time")
	private Date createTime;

	/** 修改时间 */
	@TableField(value = "update_time")
	private Date updateTime;

	@TableField(value = "description")
	private String description;

	@TableField(value = "seller_id")
	private Long sellerId;

	@TableField(value = "seller_name")
	private String sellerName;

	@TableField(value = "type")
	private Integer type;

	@TableField(value = "image_url")
	private String imageUrl;

	@TableField(value = "rent_span")
	private BigDecimal rentSpan;

	@TableField(value = "start_date")
	private String startDate;

	@TableField(value = "end_date")
	private String endDate;

	@TableField(value = "start_time")
	private String startTime;

	@TableField(value = "end_time")
	private String endTime;

	public BigDecimal getRentSpan() {
		return rentSpan;
	}

	public void setRentSpan(BigDecimal rentSpan) {
		this.rentSpan = rentSpan;
	}

	public String getStartDate() {
		return startDate;
	}

	public void setStartDate(String startDate) {
		this.startDate = startDate;
	}

	public String getEndDate() {
		return endDate;
	}

	public void setEndDate(String endDate) {
		this.endDate = endDate;
	}

	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public String getImageUrl() {
		return imageUrl;
	}

	public void setImageUrl(String imageUrl) {
		this.imageUrl = imageUrl;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Long getServiceProductRefundId() {
		return serviceProductRefundId;
	}

	public void setServiceProductRefundId(Long serviceProductRefundId) {
		this.serviceProductRefundId = serviceProductRefundId;
	}

	public Long getOrderId() {
		return orderId;
	}

	public void setOrderId(Long orderId) {
		this.orderId = orderId;
	}

	public Long getOrderItemId() {
		return orderItemId;
	}

	public void setOrderItemId(Long orderItemId) {
		this.orderItemId = orderItemId;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public Integer getQuantity() {
		return quantity;
	}

	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}

	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getReturnResult() {
		return returnResult;
	}

	public void setReturnResult(String returnResult) {
		this.returnResult = returnResult;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Long getSellerId() {
		return sellerId;
	}

	public void setSellerId(Long sellerId) {
		this.sellerId = sellerId;
	}

	public String getSellerName() {
		return sellerName;
	}

	public void setSellerName(String sellerName) {
		this.sellerName = sellerName;
	}
}
